<%@ page contentType="text/html;charset=utf-8"%>
<%@ page import="java.util.*" %>
<%
Map<String,Long> memUsed = (HashMap)request.getAttribute("memused");
Properties sysInfo=(Properties)request.getAttribute("sysinfo");
%>
<h2>管理中心</h2>
			<p id="page-intro">接下来来点什么呢？</p>
			<ul class="shortcut-buttons-set">
				
				<li><a class="shortcut-button" href="gameManage.do?pm=gotoGameList"><span>
				<img src="/resources/images/icons/pencil_48.png" alt="icon" /><br />
				图鉴</span></a></li>
				
				<li><a class="shortcut-button" href="gameManage.do?pm=gotoPublishCompanyList"><span>
					<img src="/resources/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
					厂商
				</span></a></li>
				
				<li><a class="shortcut-button" href="articleManage.do?pm=gotoArticleList"><span>
					<img src="/resources/images/icons/image_add_48.png" alt="icon" /><br />
					资讯
				</span></a></li>
				
				<li><a class="shortcut-button" href="#messages" rel="modal"><span>
					<img src="/resources/images/icons/clock_48.png" alt="icon" /><br />
					调整
				</span></a></li>
				
			</ul><!-- End .shortcut-buttons-set -->
			
			<div class="clear"></div> <!-- End .clear -->
			
			
			<div class="content-box column-left">
				
				<div class="content-box-header">
					
					<h3>属性</h3>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" >
						<h4>桌面平台:<%=sysInfo.getProperty("sun.desktop") %></h4>
						<p>
						<div style="margin-top:4px;margin-bottom:4px">操作系统名称:<%=sysInfo.getProperty("os.name")%></div>
						<div style="margin-top:4px;margin-bottom:4px">架构:<%=sysInfo.getProperty("os.arch")%></div>
						<div style="margin-top:4px;margin-bottom:4px">Java版本:<%=sysInfo.getProperty("java.version")%></div>
						<div style="margin-top:4px;margin-bottom:4px">Java运行时:<%=sysInfo.getProperty("java.runtime.name")%></div>
						<div style="margin-top:4px;margin-bottom:4px">指令集:<%=sysInfo.getProperty("sun.cpu.isalist")%></div>
						</p>
						
					</div> <!-- End #tab3 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> 
            
            <div class="content-box column-right">
				
				<div class="content-box-header">
					
					<h3>服务器血量</h3><span style="font-size:14px; font-weight:normal; float:right; position:relative;top:12px; margin-right:8px; cursor:pointer" onclick="memRefresh()" id="memRefresh">刷新</span>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab">
					
						<h4>堆内存 :<span id="memUse"><%=memUsed.get("mem_use")%></span>MB / <span id="memMax"><%=memUsed.get("mem_max")%></span>MB</h4>
						<div style="margin-top:4px;margin-bottom:4px;border: solid 1px #ccc;height:20px;width:300px">
							<div id="mem" style="height:20px;"></div>
							<div style="margin-top:8px;margin-bottom:14px;position:relative;left:-2px;">
							<br/>
							</div>
							
						</div>
						
						
					</div> <!-- End #tab3 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div>